/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.lczyfy.idcp.modules.crawl.entity;

import org.hibernate.validator.constraints.Length;

import com.lczyfy.idcp.common.persistence.DataEntity;

/**
 * 爬虫联系Entity
 * @author cw
 * @version 2018-07-20
 */
public class CrawlRelation extends DataEntity<CrawlRelation> {
	
	private static final long serialVersionUID = 1L;
	private String webMainId;		// web_main_id
	
	public CrawlRelation() {
		super();
	}

	public CrawlRelation(String id){
		super(id);
	}

	@Length(min=0, max=64, message="web_main_id长度必须介于 0 和 64 之间")
	public String getWebMainId() {
		return webMainId;
	}

	public void setWebMainId(String webMainId) {
		this.webMainId = webMainId;
	}
	
}